#ifndef _SIGNALS_H_
#define _SIGNALS_H_

//Error codes
#define OK 0
#define NULL_PARAMETERS -1
#define BUFFER_WRONG_SIZE -2


typedef struct SignalStrTag
{
	short* signal;
	int length;
}SignalStr;

int convolution(SignalStr* input,SignalStr* impulseResponse,SignalStr* output);
int decompose(SignalStr* input,SignalStr* output);
int synthesize(SignalStr* input,int originalLength);

#endif
